import Vue from 'vue'
import login from './login.vue'
import axios from 'axios'

Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.ip = 'http://222.16.20.98:3000'
// 获取url参数
Vue.prototype.getQueryString = function(name) {
	var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
	var l = decodeURI(location.search);
	var r = l.substr(1).match(reg);
	if (r != null) return unescape(r[2]);
	return null;
}
document.title = "文轩阁 - login"
new Vue({
	render: h => h(login),
}).$mount('#login')
